 
-----------------------------
Generating Binomial N samples
p =  0.8 N =  10
  
  Generating Binomial Distribution samples.
  Date and time plus nanoseconds
Wed Jun 18 18:51:50 EDT 2014
464923907
  
[1] 0.8
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0001127 0.0022525 0.0303509 0.3472921
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 1.408750e-05 3.433689e-05 5.523970e-05 7.409018e-05
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -7.427616e-16  4.492873e-04 -2.611812e-03  1.064752e-02
[1] "Relative difference of empirical central moments from theoretical ones (except first):"
[1]  6.848892e-06 -4.753589e-06  2.271508e-06
                         test   P.value KS.test
1                  Chi Square 0.5890174  Passed
2            Likelihood Ratio 0.5890174  Passed
3               Freeman-Tukey 0.7369525  Passed
4 Power Divergence (lambda=2) 0.5884908  Passed
[1] 0.8
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0001127 0.0022525 0.0303509 0.3472921
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 1.408750e-05 3.433689e-05 5.523970e-05 7.409018e-05
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -7.427616e-16  4.492873e-04 -2.611812e-03  1.064752e-02

	One-sample Kolmogorov-Smirnov test

data:  bin.unif
D = 0.0005, p-value = 0.08223
alternative hypothesis: two-sided

